Integrand size = 19, antiderivative size = 63 \[ \int \frac {1}{x \cos ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\frac {2 \operatorname {EllipticF}\left (\frac {1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )}{3 b n}+\frac {2 \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n \cos ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2716, 2720} \[ \int \frac {1}{x \cos ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\frac {2 \operatorname {EllipticF}\left (\frac {1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )}{3 b n}+\frac {2 \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n \cos ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )} \]
[In]
[Out]
Rule 2716
Rule 2720
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1}{\cos ^{\frac {5}{2}}(a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n} \\ & = \frac {2 \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n \cos ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt {\cos (a+b x)}} \, dx,x,\log \left (c x^n\right )\right )}{3 n} \\ & = \frac {2 \operatorname {EllipticF}\left (\frac {1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )}{3 b n}+\frac {2 \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n \cos ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )} \\ \end{align*}
Time = 0.16 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.86 \[ \int \frac {1}{x \cos ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\frac {2 \left (\operatorname {EllipticF}\left (\frac {1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )+\frac {\sin \left (a+b \log \left (c x^n\right )\right )}{\cos ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}\right )}{3 b n} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(290\) vs. \(2(93)=186\).
Time = 2.61 (sec) , antiderivative size = 291, normalized size of antiderivative = 4.62
method | result | size |
derivativedivides | \(-\frac {2 \left (-2 \sqrt {\frac {1}{2}-\frac {\cos \left (a +2 b \ln \left (\sqrt {c \,x^{n}}\right )\right )}{2}}\, \sqrt {-1+2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \operatorname {EllipticF}\left (\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right ) {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2} \cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )+\sqrt {\frac {1}{2}-\frac {\cos \left (a +2 b \ln \left (\sqrt {c \,x^{n}}\right )\right )}{2}}\, \sqrt {-1+2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \operatorname {EllipticF}\left (\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right )\right ) \sqrt {\left (2 {\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-1\right ) {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}}{3 n \sqrt {-2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{4}+{\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, {\left (2 {\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-1\right )}^{\frac {3}{2}} \sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) b}\) | \(291\) |
default | \(-\frac {2 \left (-2 \sqrt {\frac {1}{2}-\frac {\cos \left (a +2 b \ln \left (\sqrt {c \,x^{n}}\right )\right )}{2}}\, \sqrt {-1+2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \operatorname {EllipticF}\left (\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right ) {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2} \cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )+\sqrt {\frac {1}{2}-\frac {\cos \left (a +2 b \ln \left (\sqrt {c \,x^{n}}\right )\right )}{2}}\, \sqrt {-1+2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \operatorname {EllipticF}\left (\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right )\right ) \sqrt {\left (2 {\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-1\right ) {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}}{3 n \sqrt {-2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{4}+{\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, {\left (2 {\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-1\right )}^{\frac {3}{2}} \sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) b}\) | \(291\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.09 (sec) , antiderivative size = 149, normalized size of antiderivative = 2.37 \[ \int \frac {1}{x \cos ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\frac {-i \, \sqrt {2} \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) + i \, \sin \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )\right ) + i \, \sqrt {2} \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) - i \, \sin \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )\right ) + 2 \, \sqrt {\cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )} \sin \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{3 \, b n \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2}} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{x \cos ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {1}{x \cos ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\int { \frac {1}{x \cos \left (b \log \left (c x^{n}\right ) + a\right )^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{x \cos ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\text {Timed out} \]
[In]
[Out]
Time = 27.86 (sec) , antiderivative size = 65, normalized size of antiderivative = 1.03 \[ \int \frac {1}{x \cos ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\frac {2\,\sin \left (a+b\,\ln \left (c\,x^n\right )\right )\,{{}}_2{\mathrm {F}}_1\left (-\frac {3}{4},\frac {1}{2};\ \frac {1}{4};\ {\cos \left (a+b\,\ln \left (c\,x^n\right )\right )}^2\right )}{3\,b\,n\,{\cos \left (a+b\,\ln \left (c\,x^n\right )\right )}^{3/2}\,\sqrt {{\sin \left (a+b\,\ln \left (c\,x^n\right )\right )}^2}} \]
[In]
[Out]